home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / stx422a.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-12-30  |  5KB  |  103 lines

  1. @echo off
  2. if exist %1\$toktrax.exe upgrade %1
  3. cls
  4. echo  ░▒▓█▓▒░▒▓▓▒░▒▓█▓▒▒▓█▓▒░▒▓█▒░▒▓█▓▒░▓█▓▒░▒▓█▓▒░▒▓█▓▒░▒▓█▓▒░▒▓█▓▒░▓█▓▒░▒▓█▓▒░▒
  5. echo  ▒   │ │                                                                   ▓
  6. echo  ▓  █│██▒   ██▒             ██▒     ████████▒                    ██▒   ██▒ █
  7. echo  █ █▒│ │█▒▐█████▒           ██▒  █▒    ██▒                        ██▒ ██▒  ▓
  8. echo  ▓ █▒│ │    ██▒     █████▒  ██▒▄█▒     ██▒   ███▒ ▐█▒    ██▒       ████▒   ▒
  9. echo  ▒ ████│█▒  ██▒    ██▒  ██▒ ████▒      ██▒    ██▒▐█▒    ████▒       ██▒    ░
  10. echo  ░   │ │█▒  ██▒    ██▒  ██▒ █████▒     ██▒    ████▒    ██▒ ██▒     ████▒   ▒
  11. echo  ▒ █▒│ │█▒  ██▒██▒ ██▒  ██▒ ██▒ ██▒    ██▒    ██▒     ████████▒   ██▒ ██▒  ▓
  12. echo  ▓  █│██▒    ███▒   █████▒  ██▒  ██▒   ██▒    ██▒    ██▒     ██▒ ██▒   ██▒ █
  13. echo  ▒   │ │                 ╔═════════════════════════╗                    tm ▒
  14. echo  ░▒▓█▓▒░▒▓█▓▒░▒▓█▓▒▓▒▓█▓▒║ release 4, (c)1986-1992 ║░▓▒░▒▓█▓▒░▒▓█▓░▒▓█▓▒░▒▓█
  15. echo                          ╚═════════════════════════╝
  16. if x%1==x echo   ──────────────────────────────────────────────────────────────────────────
  17. if x%1==x echo      A destination drive and directory MUST be specified.  For example:
  18. if x%1==x echo                             INSTALL C:\$TOKTRX4
  19. if not exist UPGRADE.BAT goto CONTINUE
  20. if x%1==x echo      If you are upgrading but want to install the new version in a new
  21. if x%1==x echo      directory, don't forget your data files!  After installation, copy
  22. if x%1==x echo      your old .STK files to the new directory with the command
  23. if x%1==x echo      COPY C:\OLD\*.STK C:\NEW (substituting the correct drive
  24. if x%1==x echo      and dirctory names). Repeat this for your .FOL and .DIV files.
  25. echo   ──────────────────────────────────────────────────────────────────────────
  26. :CONTINUE
  27. if x%1==x goto ENDINSTALL
  28. echo                            INSTALLING TO  %1
  29. echo   ──────────────────────────────────────────────────────────────────────────
  30. echo         Press ENTER if you want to continue, or CONTROL-C if you want to
  31. echo             start over and specify a different drive and directory.
  32. echo   ──────────────────────────────────────────────────────────────────────────
  33. if x%2==x pause
  34. rem -------------------------------------------------------------------
  35. cls
  36. if exist $TOKMAIN.EXE goto MAIN
  37. echo Please insert $TOKTRAX disk #1, containing $TOKMAIN.EXE......
  38. if x%2==x pause
  39. :MAIN
  40. $TOKMAIN %1
  41. if exist *.DOC copy *.DOC %1
  42. if exist OMBUDS copy OMBUDS %1
  43. if exist *.STK copy *.STK %1
  44. rem -------------------------------------------------------------------
  45. cls
  46. if exist $TOKUTIL.EXE goto UTIL
  47. echo Please insert $TOKTRAX disk #2, or press ENTER......
  48. if x%2==x pause
  49. if not exist $TOKUTIL.EXE goto MAKEST
  50. :UTIL
  51. $TOKUTIL %1
  52. rem -------------------------------------------------------------------
  53. cls
  54. if exist $TOKDOCS.EXE goto DOCS
  55. echo Please insert $TOKTRAX disk #2, or press ENTER......
  56. if x%2==x pause
  57. if not exist $TOKUTIL.EXE goto MAKEST
  58. :DOCS
  59. $TOKDOCS %1
  60. rem -------------------------------------------------------------------
  61. cls
  62. if exist $TOKSAMP.EXE goto SAMP
  63. echo Please insert $TOKTRAX disk #2, or press ENTER......
  64. if x%2==x pause
  65. if not exist $TOKUTIL.EXE goto MAKEST
  66. :SAMP
  67. $TOKSAMP %1
  68. rem -------------------------------------------------------------------
  69. if exist SA107.EXE SA107 %1
  70. if exist SA.EXE copy SA*.* %1
  71. if exist %1\OMBUDS goto MAKEST
  72. if exist *.DOC copy *.DOC %1
  73. if exist OMBUDS copy OMBUDS %1
  74. if exist *.STK copy *.STK %1
  75. if exist MISCDOCS.EXE MISCDOCS %1
  76. rem -------------------------------------------------------------------
  77. :MAKEST
  78. if not x%1==x %1\
  79. if not x%1==x cd %1
  80. if not x%1==x echo @echo off > st.bat
  81. if not x%1==x echo %1\ >> st.bat
  82. if not x%1==x echo cd %1 >> st.bat
  83. if not x%1==x echo prompt Type EXIT to return to $$tokTraX $G >> st.bat
  84. if not x%1==x echo $TOKTRAX %%1 %%2 %%3 >> st.bat
  85. if not x%1==x echo prompt $P$G >> st.bat
  86. rem -------------------------------------------------------------------
  87. $etup
  88. echo 
  89. echo 
  90. echo.
  91. echo    This program is produced by a member of the Association of Shareware
  92. echo    Professionals (ASP).  ASP wants to make sure that the shareware
  93. echo    principle works for you. If you are unable to resolve a
  94. echo    shareware-related problem with an ASP member by contacting the member
  95. echo    directly, ASP may be able to help. The ASP Ombudsman can help you
  96. echo    resolve a dispute or problem with an ASP member, but does not provide
  97. echo    technical support for members' products.  Please write to the ASP
  98. echo    Ombudsman at 545 Grover Road, Muskegon, MI 49442 or send a CompuServe
  99. echo    message via CompuServe Mail to ASP Ombudsman 70007,3536.
  100. echo.
  101. echo    Type ST to begin $tokTraX.
  102. :ENDINSTALL
  103.